package org.jeecg.modules.exTenderFileSetVariable.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.jeecg.modules.exTenderFileSetVariable.entity.ExTenderFileSetVariable;
import org.jeecg.modules.exTenderFileSetVariable.mapper.ExTenderFileSetVariableMapper;
import org.jeecg.modules.exTenderFileSetVariable.service.IExTenderFileSetVariableService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 招标文件定义变量
 * @Author: jeecg-boot
 * @Date: 2024-09-11
 * @Version: V1.0
 */
@Service
public class ExTenderFileSetVariableServiceImpl extends ServiceImpl<ExTenderFileSetVariableMapper, ExTenderFileSetVariable> implements IExTenderFileSetVariableService {

    @Override
    public List<ExTenderFileSetVariable> getBySectionId(String sectionId) {
        LambdaQueryWrapper<ExTenderFileSetVariable> query = new LambdaQueryWrapper<ExTenderFileSetVariable>().in(ExTenderFileSetVariable::getSectionId, sectionId);
        return this.list(query);
    }
}
